package com.atguigu.boot.mapper;

import com.atguigu.boot.pojo.Customer;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * spring-boot
 * 2022/9/14 00 00
 */
public interface CustomerMapper {
    public void add(Customer customer);
    public List<Customer> list();
    public Customer getCustomerById(Integer id);
    public void deleteCustomerById(Integer id);
    public void updateCustomer( Customer customer);
}
